<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="probiz" tagdir="/WEB-INF/tags/probiz"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ taglib prefix="catalog" tagdir="/WEB-INF/tags/catalog"%>
<%@ taglib prefix="content" tagdir="/WEB-INF/tags/content"%>
<html>
	<title>${brand.brandName}</title>
	<meta name="keywords" content="${brand.brandName}" />
	<meta name="description" content="${brand.shortDescription}" />
	<body>
		<%---------------------------------start:当前位置 -------------------------%>
		<div class="position"><fmt:message key="position.your"/>
			<product:brandNavigation brandId="${brand.brandId}"/>
		</div>
		<%---------------------------------end:  当前位置 -------------------------%>
		
		<%---------------------------------start:品牌介绍 -------------------------%>
		<%@ include file="include/brandIntro.jspf"%> 
		<%---------------------------------end:  品牌介绍 -------------------------%>
		
		<c:choose>
			<c:when test="${sc.totalCount != 0}">		
				
				<form method="get">
					<div class="page_top clearfix">
						<%@include file="include/productListShowStyle.jspf" %>
						<%@ include file="include/productSort.jspf"%>
						<paging:linkPagingTop/>
					</div>
					<%---------------------------------start:商品列表 -------------------------%>
					<div class="shop_window">
						<div class="content clearfix">
							<ul id="listShowStyleBody" class="${(listShowStyle==2)?'row':'grid'}">
								<c:choose>
									<c:when test="${sc.totalCount != 0}">		
										<c:forEach items="${productList}" var="product">
											<%@ include file="include/productItem.jspf"%>
										</c:forEach>
									</c:when>
									<c:otherwise>
										<div class="info">
											<fmt:message key="productList.message.noProductActive" />
										</div>
									</c:otherwise>
								</c:choose>
							</ul>
						</div>
					</div>	
					<%---------------------------------end:  商品列表 -------------------------%>
					<div class="page_bottom clearfix">
						<paging:linkPagingBottom/>
					</div>
				</form>
			</c:when>
			<c:otherwise>
				<div class="msg">
					<h3><fmt:message key="brandProductList.noShelveProduct.msg.title"/></h3>
					<div class="recommend_info">
						<dl>
							<dt><fmt:message key="brandProductList.noShelveProduct.msg.advice"/>：</dt>
							<dd><fmt:message key="brandProductList.noShelveProduct.msg.advice1"/></dd>
							<dd><fmt:message key="brandProductList.noShelveProduct.msg.advice2"/></dd>
						</dl>
					</div>
				</div>
			</c:otherwise>
		</c:choose>		
		
		<c:set var="probizJs_productList" value="true" scope="request"/>
	</body>
</html>
